#include "include/battery_plus/battery_plus_plugin_c_api.h"

#include <flutter/plugin_registrar_windows.h>

#include "battery_plus_plugin.h"

void BatteryPlusPluginCApiRegisterWithRegistrar(
    FlutterDesktopPluginRegistrarRef registrar) {
  battery_plus::BatteryPlusPlugin::RegisterWithRegistrar(
      flutter::PluginRegistrarManager::GetInstance()
          ->GetRegistrar<flutter::PluginRegistrarWindows>(registrar));
}
